﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Workflows.Components.Entities.Addresses
{
    [Serializable]
    public class Address
    {
        #region props
        private int _AddressID;
        /// <summary></summary>
        public int AddressID
        {
            get
            {
                return this._AddressID;
            }
            set
            {
                this._AddressID = value;
            }
        }

        private string _Street;
        /// <summary>ln, ct, rd, st</summary>
        public string Street
        {
            get
            {
                return this._Street;
            }
            set
            {
                this._Street = value;
            }
        }

        private string _SubDivision;
        /// <summary>dept, inst, lab</summary>
        public string SubDivision
        {
            get
            {
                return this._SubDivision;
            }
            set
            {
                this._SubDivision = value;
            }
        }

        private string _Organization;
        /// <summary>college, univ, company</summary>
        public string Organization
        {
            get
            {
                return this._Organization;
            }
            set
            {
                this._Organization = value;
            }
        }

        private string _City;
        /// <summary></summary>
        public string City
        {
            get
            {
                return this._City;
            }
            set
            {
                this._City = value;
            }
        }

        private string _Region;
        /// <summary>state or province</summary>
        public string Region
        {
            get
            {
                return this._Region;
            }
            set
            {
                this._Region = value;
            }
        }

        private string _PostalCode;
        /// <summary></summary>
        public string PostalCode
        {
            get
            {
                return this._PostalCode;
            }
            set
            {
                this._PostalCode = value;
            }
        }

        private string _Country;
        /// <summary></summary>
        public string Country
        {
            get
            {
                return this._Country;
            }
            set
            {
                this._Country = value;
            }
        }

        private string _FullAddress;
        /// <summary></summary>
        public string FullAddress
        {
            get
            {
                return this._FullAddress;
            }
            set
            {
                this._FullAddress = value;
            }
        }
        #endregion

        public Address(int addrId)
        {
            this._AddressID = addrId;
        }
    }
}
